package com.example.demo.mapper;

import com.example.demo.pojo.Classes;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface ClassesMapper {
    List<Classes> queryAllClass();
    Classes queryone(int id);
    int addClass(String class_name,String grade,String classs);

    int updateClass(Classes classes);

    int deleteClass(int id);

}
